home *** CD-ROM | disk | FTP | other *** search
- UnZip version 5.0, 22 August 1992
-
- New features, you betcha:
-
- - inflation [Mark Adler]
- - unimploding (exploding) rewritten--much faster, no copyright restrictions
- [Mark Adler]
- - updated makefiles for inflation and explosion [Jean-loup Gailly, Glenn
- Andrews, Mark Adler, CN, ...]
- - multiple password guessing [CN, Mark Adler]
- - OS/2: extended attributes code, including decompression [Kai Uwe Rommel]
- - MS-DOS: Quick C makefile [Richard Seay]
- - new public domain version of match.c to replace copyrighted SEA version
- [J. Kercheval, David Kirschbaum]
- - INBUFSIZ may be changed on compile line (e.g., -DINBUFSIZ=8192) [Steve
- Salisbury]
- - Mac: new extra-field resource fork stuff [Johnny Lee]
- - VMS: f*def.h header files included within VMSmunch.h for neatness [CN]
- - new zipinfo formats (well, slightly different), including the default,
- allowing longer filenames without wrapping [CN]
- - special file perms (sticky bits, etc.) now restored properly (with excep-
- tion of compressed symlinks, as noted in BUGS) [Mark Adler, CN]
- - Linux support [Humberto Ortiz-Zuazaga]
- - MS-DOS: gcc support (DJ DeLorie's) [Onno van der Linden]
- - UNZIP/ZIPINFO environment variable support [CN, Bill Davidsen]
- - smarter zipinfo defaults, including optional header and totals lines [CN]
- - zipinfo OS/2 EA information [Kai Uwe Rommel]
- - Convex C-120, C-210 targets added [Rafal Maszkowski]
- - signal handler for restoring echo if ^C during password, catch segmentation
- violations/bus errors [Mark Adler, CN]
- - VMS: RMS services used for (nearly) everything, instead of QIO/ACP [Igor]
- - MS-DOS: Borland C++ makefile to replace individual unzip{_cr}, zipinfo
- ones [Alvin Koh, David Kirschbaum]
- - MS-DOS: new Turbo C project files and zipinfo batch file [Charles Scripter]
- - VMS: added overwrite/create-new capability for existing files [Igor]
- - Cray scc v3.0 target added [CN]
- - Olivetti X/OS target added [Fulvio Marino]
- - OS/2: makefile.os2 provided in lieu of OS/2 targets in Makefile [Kai Uwe]
- - "all" and "install" targets added to main Makefile [CN, Mark, Alvin Koh]
- - MS-DOS: massive Windows port (only patches to existing source included;
- also need stand-alone Windows sources from wunz12sr.zip) [Robert Heath,
- Johnny Lee]
- - OS/2: added support for Watcom C/386 9.0, in addition to Microsoft C 6.0,
- IBM C Set/2, and gcc/emx [Kai Uwe]
- - AT&T 6300+/SysV target added [Peter Mauzey]
- - Windows NT port [David Feinleib]
- - reprompt for overwrite instead of assuming "n" if user error [Mark, Mike
- Freeman]
- - new (*very* new) funzip.c: read zipfile from stdin, extract first member
- to stdout (now includes decryption, too) [Mark]
- - funzip man page, Where file [CN]
- - 386BSD 0.1 support added [Onno van der Linden]
-
- Bugs fixed:
-
- - MS-DOS: incorrect use of FP_ macros in dateformat() fixed [Steve Salisbury]
- - dateformat() only called once now [Steve Salisbury, CN]
- - "#if defined(x) || defined(y)" causes problems with some compilers (Borland
- C++ 3); globally replaced with "#if (defined(x) || defined(y))" [Alvin Koh]
- - "Deflating" message corrected to "Inflating" [James Birdsall]
- - GNU C prototype conflicts fixed (crypt.c, file_io.c) [Jean-loup Gailly]
- - OS/2: stderr needs fflush for IBM C Set/2 compiler (as did Amiga); added
- for all compilers except Mac Progammer's Workbench [CN, Jon Saxton]
- - VMS: multiple-dot filenames now converted properly [Igor Mandrichenko]
- - decryption version: time.h now only included in unzip.h, not crypt.c
- (requires crypt.c "v1.5" or later) [CN, Jean-loup Gailly]
- - changed use of obsolescent S_IEXEC to S_IXUSR [Humberto Ortiz-Zuazaga]
- - SCO optimization bug in unshrink fixed [Onno van der Linden]
- - aviion target moved to _sysv section of makefile for password echoing
- [CN, Benjamin Goldsteen]
- - less reliance on __STDC__; now using zip's MODERN and PROTO macros [CN,
- Mark Adler, ...]
- - stdlib.h not included for buggy compilers which define __STDC__ anyway
- (GNU C, Apollo) [CN]
- - MS-DOS: multiple dots in filenames handled correctly [CN]
- - corrected explode(), matche_...() prototypes [various people]
- - changed zipinfo targets in Makefile to use ln or copy rather than
- mv/rename for misc_.c [Kjetil J{\o}rgenson]
- - corrected (or attempted to correct) zipinfo project files for Borland
- (misc_.obj, -DZIPINFO) [CN, Jean-loup]
- - updated BCC .mak files for unzip 5.0 [Alvin Koh]
- - MS-DOS: rewrote msc_dos target in Makefile to get back under DOS 128-
- character command-line limit (I hope) [CN]
- - Unix: use "unix" predefined macro instead of -DUNIX [CN]
- - VMS: revision dates once again set properly
- - added typecasts, etc., to get rid of nearly all warnings [CN, Charles
- Scripter, Mark Adler]
- - fixed "zipfile corrupt" bug for empty zipfiles [CN]
- - OS/2, Unix: high-order (European) characters allowed in filenames [Kai Uwe,
- CN]
- - MS-DOS: patches for TC 2.0 and BC++ 3.0 preprocessors and for TCC and BCC
- themselves to handle Unix-style line endings (LF) correctly (in MSDOS sub-
- archive) [Onno van der Linden]
- - added missing <signal.h> [Igor, Kai Uwe, Jean-loup, many others]
- - modified sysv target and unzip.h to allow SysV-ish Suns to compile right
- [CN]
- - removed some SysV.4 warnings [Jean-loup]
- - OS/2: added comments in zipinfo and man page to forestall queries about
- "EA's stored not equal to what dir reports" [CN, Kai Uwe]
- - patches for RS/6000 + AIX [Trevor Paquette]
- - OS/2: "smart" upper/lowercasing depending on national language code page
- [Kai Uwe]
- - updated VMS, MS-DOS, and AMIGA sub-archives for release [CN]
- - fixed zi_gcc makefile target [CN, Bo Kullmar]
- - fixed size_t/extent bug for non-ANSI compilers [CN]
- - fixed zipinfo EOL bug [CN]
- - updated OS2 sub-archive and main Makefile (OS/2 targets, crypt, etc.) for
- release [CN]
- - added typecasts to get rid of remaining inflate/explode warnings [CN]
- - MS-DOS: updated BCC project files [Alvin Koh]
- - Mac, MTS: fixed work-area initialization bug and added missing isascii
- definition [Antoine Verheijen]
- - Mac: updated Think C resource file [Antoine]
- - fixed (I hope) couple of conversion warnings in extract.c [CN, Charles]
- - updated NoGate error message (PAK 2.51) [CN, Keith Petersen]
- - VMS: corrected gcc XAB definition problem; cleaned up make_unzip_gcc.com
- [Igor, Mike Freeman, CN]
- - MS-DOS: fixed msc_dos target in Makefile [Piet W. Plomp]
- - fixed sco_dos stack overflow bug and allowed zipinfo to be compiled as well,
- provisionally (UNZIPS variable) [Bill Davidsen, CN]
- - OS/2: added -DMSC to msc target in makefile.os2 (and msc_os2 in Makefile),
- removed -Fb, changed some icc settings; removed references to main Makefile
- [Kai Uwe, CN]
- - OS/2: simplified default unzip.h defines [Kai Uwe]
- - OS/2, MS-DOS: reversed meaning of -s (now spaces allowed by default) [CN,
- Kai Uwe]
- - OS/2: changed extra-field format to official PKWare format [Kai Uwe]
- - typecast all NULLs appropriately to avoid AIX warnings [CN, Trevor Paquette,
- Christopher Tjon]
- - changed zfwrite definition in crypt.c to match zip's [Jean-loup]
- - fixed some WinNT problems [Dave Feinleib, CN]
- - fixed SysV.4 warning regarding signal.h placement [Jean-loup]
- - fixed c120 target and renamed NMAX to N_MAX inflate.c to avoid Convex
- redefinition warning [CN, Rafal Maszkowski]
- - fixed bad comment line in Makefile [Mark, CN]
- - fixed memcpy/byte-ordering problem in memextract() [CN, Kai Uwe]
- - updated funzip (1.1) [Mark]
- - updated unzip/zipinfo error message to include Norwegian ZIPSPLIT as
- well as Atari STZIP [CN]
- - fixed zi_gcc Makefile target; added fu_gcc target [CN]
- - finished unzip and zipinfo man pages (I think) [CN]
- - OS/2: minor national language code fix [Kai Uwe]
- - initialized all unzip and zipinfo global flags to zero (buggy Sun compiler)
- [CN, Frank van der Linden]
- - reformatted .man pages slightly; renamed to .doc [CN, Jean-loup]
- - renamed Mac Think C makefiles and VMS command files so names will be unique
- if extracted under MS-DOS; renamed Turbo C zipinfo.bat to zi_make.bat [CN,
- Jean-loup]
- - fixed illegal escape sequence in unzip.1 (caused NeXT segmentation viol.)
- [Mark]
-
- Version info extracted from WizUnZip patches to unzip.c:
-
- /* History:
- * 01/27/92 1.0 Original.
- * 04/12/92 1.1 Added separate handle and buffer for outout.
- * Change outout's typing to byte _far *.
- * Apology: I did some of the wacky things I did
- * with buffers and pointers because I kept running
- * out of local memory in the Windows version.--rah.
- * 06/30/92 1.2 Cleaned up source code.
- * Added drag-drop, hiding status window,
- * faster unzipping, updated to Unzip 5.0 source
- */
-
- Version info extracted from new match.c (formerly filmatch.c):
-
- File: filmatch.c
- Author: J. Kercheval
- Created: Thu, 03/14/1991 22:22:01
- [from WILDF114.ZIP, SIMTEL20]
-
- EPSRevision History
-
- J. Kercheval Wed, 02/20/1991 22:29:01 Released to Public Domain
- J. Kercheval Fri, 02/22/1991 15:29:01 fix '\' bugs (two :( of them)
- J. Kercheval Sun, 03/10/1991 19:31:29 add error return to matche()
- J. Kercheval Sun, 03/10/1991 20:11:11 add is_valid_pattern code
- J. Kercheval Sun, 03/10/1991 20:37:11 beef up main()
- J. Kercheval Tue, 03/12/1991 22:25:10 Released as V1.1 to Public Domain
- J. Kercheval Thu, 03/14/1991 22:22:25 remove '\' for DOS file parsing
- J. Kercheval Thu, 03/28/1991 20:58:27 include filmatch.h
-
- v1.2 Toad Hall Tweak, Apr 92
-
- - Adapting to Info-ZIP unzip (to replace SEA's match() code).
- Why? To avoid any future copyright problems. (Hopefully one day
- we'll have EVERYTHING built of public domain code.)
- An even greater hope: that this new code added functionality
- and didn't break *too* many old applications.
-
- - Incorporating FILMATCH.H code herein.
- - Consolidated all test code at the end (#ifdef'ed out, of course)
- so we can throw it all away when we're done playing.
- - Swapping *string and *pattern to match previous match() parms.
- - [GRR: renamed from "filmatch.c" to "match.c" to avoid changing
- all of the unzip makefiles]
-
- From the previous match()'s comments:
-
- "The match() routine recursively compares a string to a "pattern" (regular
- expression), returning TRUE if a match is found or FALSE if not.
- This version is specifically for use with unzip.c: as did the previous
- SEA's match(), it leaves the case (upper, lower, or mixed) of the string
- alone, but converts any uppercase characters in the pattern to lowercase
- if indicated by the global var pInfo->lcflag (which is to say, string is
- assumed to have been converted to lowercase already, if such was
- necessary)."
-
- Since the above has approached or exceeded unintelligibility
- (why use small words when big ones will do?), scan down for "lcflag"
- and see what the code does.
-
- David Kirschbaum
- Toad Hall
-
- File: filmatch.h
- Author: J. Kercheval
- Created: Thu, 03/14/1991 22:24:34
-
- EPSRevision History
-
- J. Kercheval Wed, 02/20/1991 22:28:37 Released to Public Domain
- J. Kercheval Sun, 03/10/1991 18:02:56 add is_valid_pattern
- J. Kercheval Sun, 03/10/1991 18:25:48 add error_type in is_valid_pattern
- J. Kercheval Sun, 03/10/1991 18:47:47 error return from matche()
- J. Kercheval Tue, 03/12/1991 22:24:49 Released as V1.1 to Public Domain
- J. Kercheval Thu, 03/14/1991 22:25:00 remove '\' for DOS file matching
- J. Kercheval Thu, 03/28/1991 21:03:59 add in PATTERN_ESC & MATCH_LITERAL
-
- ==================
-
- These changes occurred in beta versions 5.0a to 5.0p. This list may have
- left out some bugfixes and even some features...the brain cell is going,
- folks (as Mark would say). Apologies, etc., but I did muh best....
-
- Greg Roelofs (a.k.a. Cave Newt)
-